while [ -d /etc  ]
do
      ls -ld /etc
     # break
done
